﻿using A.M.ETO;
using A.M.Storage.I_Application;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.M.Materiel.Domain.Entity;
using W.M.Materiel.Infrastruecure.DTO;

namespace W.M.Materiel.Application.IServices
{
    public interface IBill_of_materialsServices: IBaseServices<bill_of_materials,String>
    {
        List<Bill_of_materialsDTO> GetBill_Of_Materials(int pageSize, int pageIndex, string? name, string? id, out int totalCount, out int pageCount);

        Task<bill_of_materials> Getbackfill(string? material_code);

        Task<ApiReturn<string>> GetBill_Of_MaterialAdd(bill_of_materials c);

        Task<ApiReturn<int>> GetDelBill(string? c);

        Task<ApiReturn<string>> GetUpdateBillInfo(bill_of_materials c);

        Task<bill_of_materials> GetBillbackfill(string? material_code);


    }
}
